import requests

base_url = "https://cvpr.thecvf.com"  # 替换为实际网站域名
file_path = "/static/core/img/cvpr-navbar-logo.svg"
full_url = base_url + file_path

response = requests.get(full_url)
if response.status_code == 200:
    with open("cvpr-navbar-logo.svg", "wb") as f:
        f.write(response.content)
    print("文件下载成功！")
else:
    print("下载失败，状态码:", response.status_code)